package net.chrone.quickpayapi.service;

import java.util.List;

import net.chrone.quickpayapi.model.Order;
import net.chrone.quickpayapi.model.PayforTxn;

public interface PayforService {
	
	PayforTxn findByOrgOrderNo(String orgId,String orderNo);
	
	PayforTxn findByOrgSsn(String orgId,String ssn);

	PayforTxn newOrder(PayforTxn payforTxn,Order order);

	int updateByPrimaryKey(PayforTxn payforTxn);

	PayforTxn findByPrimaryKey(String orderId);

	List<PayforTxn> find(String payChannelId, int status);

	PayforTxn getByOrder(String orderNo);

	void newFromOrder(Order order,int paySt,String respCode,String respMsg);

	List<PayforTxn> findAllNewPayTxn(String channel,int deleyTime);
}
